#include "LevelManager.h"

LevelManager::LevelManager(SDL_Surface* screen)
{
	m_graphic = new Sprite(screen, "player.bmp");
	m_player = new Player(m_graphic);

	m_screen = screen;

}

LevelManager::~LevelManager() 
{
	delete m_player;
	delete m_graphic;
}

void LevelManager::moveLeft()
{
	m_player->moveLeft();
}

void LevelManager::moveRight()
{
	m_player->moveRight();
}

void LevelManager::moveUp()
{
	//m_player->jump(m_dt);
}

void LevelManager::moveDown()
{
	m_player->moveDown();
}
